public class Test {
    public static void main(String[] args) {
        //静态内部类
        Outclass.InnerClass innerClass=new Outclass.InnerClass();
        System.out.println(innerClass.c);
        innerClass.setmath();

        //实例外部类
        Outclass outclass=new Outclass();
        Outclass.InnerClass1 innerClass1= outclass.new InnerClass1();
        System.out.println(innerClass1.a);
        innerClass1.setmath();
    }
}
